package LuMin.file.Read;

import java.io.*;
import java.util.Arrays;

/**
 * @author lumin
 * @date 2022/05/09 19:09
 **/
public class ReadFile {
    public static void main(String[] args) throws IOException {
        try(InputStream is = new FileInputStream("孙熟人.txt")) {
            byte[] b = new byte[20];
            int n = is.read(b);
            System.out.println(n);
            System.out.println(Arrays.toString(b));
        }
    }
}